<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>学生信息</title>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
</head>

<body style="background: url(${base}/asserts/img/timeer.jpg)">
<h3 style="text-align: center">学生信息</h3>
<div>
    <table  class="table table-hover table-bordered">
        <thead class="thead-dark">
        <tr style="background: #93DAFF">
            <th>姓名</th>
            <th>学号</th>
            <th>性别</th>
            <th>出生日期</th>
            <th>政治面貌</th>
            <th>简介</th>
        </tr>

        <input type="hidden" name="id" value="${stuId.id}"/>

        <tr>
            <th>${stuId.name}</th>
            <th>${stuId.studentNumber}</th>
            <th>${stuId.birthday}</th>
            <th><c:if test="${stuId.gender == 'MALE'}">男</c:if>
                <c:if test="${stuId.gender == 'FEMALE'}">女</c:if>
            </th>
            <th>
                <c:if test="${stuId.polity == 'PARTYMEMBER'}">党员</c:if>
                <c:if test="${stuId.polity == 'MEMBER'}">团员</c:if>
                <c:if test="${stuId.polity == 'INDEPENDENTMEMBER'}">无党派</c:if>
                <c:if test="${stuId.polity == 'OTHER'}">其他</c:if>
            </th>
            <th>${stuId.brief}</th>
        </tr>
    </table>
    <input type="button" value="返回" onclick="history.back(-1)"/>
</div>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
